package cn.johnyu.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.example.commons.dto.AccountDto;
import org.example.commons.dto.ProductDto;
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Order {
    private Integer id;
    private int amount;
    private ProductDto product; //产品
    private AccountDto account; //用户
}
